package com.insta.library.model;

import java.util.Date;

public class Author {

	private String name;
	private String firstname;
	private String nationality;
	private Date birthday;
	private Date deathday;

	public Author() {}
	
	public Author(String name, String firstname, String nationality,
			Date birthday, Date deathday) {
		super();
		this.name = name;
		this.firstname = firstname;
		this.nationality = nationality;
		this.birthday = birthday;
		this.deathday = deathday;
	}

	public String getName() {
		return this.name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public String getFirstname() {
		return this.firstname;
	}

	public void setFirstname(String firstname) {
		this.firstname = firstname;
	}

	public String getNationality() {
		return this.nationality;
	}

	public void setNationality(String nationality) {
		this.nationality = nationality;
	}

	public Date getBirthday() {
		return this.birthday;
	}

	public void setBirthday(Date birthday) {
		this.birthday = birthday;
	}

	public Date getDeathday() {
		return this.deathday;
	}

	public void setDeathday(Date deathday) {
		this.deathday = deathday;
	}

}
